package net.zjitc.service.Impl;

import net.zjitc.dao.CategorySecondDao;
import net.zjitc.dao.Impl.CategorySecondDaoImpl;
import net.zjitc.pojo.CategorySecond;
import net.zjitc.service.CategorySecondService;

import java.util.List;

/**
 * Created by dell on 2017/11/18.
 */
public class CategorySecondServiceImpl implements CategorySecondService {
    CategorySecondDao dao=new CategorySecondDaoImpl();
    public List<CategorySecond> findAllCategorySecond() {
        return dao.findAllCategorySecond();
    }

    public void CategorySecondAdd(CategorySecond categorySecond) {
        dao.CategorySecondAdd(categorySecond);
    }

    public CategorySecond findCategorySecondById(String csid) {
        return dao.findCategorySecondById(csid);
    }

    public void CategorySecondEdit(CategorySecond categorySecond) {
        dao.CategorySecondEdit(categorySecond);
    }

    public void CategorySecondDelete(String csid) {
        dao.CategorySecondDelete(csid);
    }
}
